package com.iqiyi.pps.epg.core.service.ticket;

import com.iqiyi.pps.epg.api.model.web.query.TFilter;
import com.iqiyi.pps.epg.api.model.web.query.TPage;
import com.iqiyi.pps.epg.api.model.web.ticket.TTicketDataPage;
import com.iqiyi.pps.epg.api.model.web.ticket.TTicketLogPage;
import com.iqiyi.pps.epg.api.model.web.ticket.TTicketSysConfig;
import com.iqiyi.pps.epg.core.model.ticket.TicketData;
import com.iqiyi.pps.epg.core.model.ticket.TicketLiveCheck;
import com.iqiyi.pps.epg.core.model.ticket.TicketLog;

import java.util.List;

/**
 * Created by karkarrotxu on 2017/9/1.
 */
public interface ITicketService {
    public long saveLog(TicketLog log);

    public TTicketLogPage findLogPage(TPage page, TFilter filter);

    public TTicketDataPage findTicketDataPage(TPage page, TFilter filter);

    public long addTicketData(TicketData entity);

    public void editTicketData(TicketData entity);

    public void updateOaByOaDoc(String oaDoc ,String oaEditStatus);

    public List<TicketData> findTicketDataList(TFilter filter);

    public TicketData findTicketDataId(long id);

    public List<TicketLiveCheck> findLiveCheckList(TFilter filter);

    public TicketLiveCheck findTicketLiveCheckByDataId(long dataId);

    List<TTicketSysConfig> getAllConfigs();

    List<TTicketSysConfig> filterConfigs(TFilter filter);

    void updateLiveCheck(TicketLiveCheck data);
}
